home *** CD-ROM | disk | FTP | other *** search
- OPT PREPROCESS
-
- MODULE 'feelin','libraries/feelin'
-
- PROC main()
- DEF c,w
-
- IF feelinbase := OpenLibrary('feelin.library',FV_VERSION)
- c := ClientObject,
- Child, w := WindowObject, FA_Window_Title,'Feelin : Text',
- Child, HGroup,
- Child, TextObject, FA_ChainToCycle, FALSE,
- FA_MinWidth, 30,
- FA_Text, {__Text},
- FA_Text_SetMin, FALSE,
- FA_Text_VCenter, TRUE,
- FA_TextDisplay_Interline, 5,
- End,
- End,
- End,
- End
-
- IF c
- F_DoA(w,FM_Notify,[FA_Window_CloseRequest,TRUE,FV_Notify_Client,2,FM_Client_ReturnID,FV_Client_Quit])
- F_Set(w,FA_Window_Open,TRUE)
-
- F_DoA(c,FM_Client_Run,NIL)
-
- F_DisposeObj(c)
- ENDIF
-
- CloseLibrary(feelinbase)
- ELSE
- WriteF('Unable to open feelin.library\n')
- ENDIF
- ENDPROC
-
- __Text:
- CHAR '`c`<0>',
- 'Normal text\n',
- '`<8>Highlighted text`<0>\n',
- '`<1>C`<2>o`<3>l`<4>o`<5>r`<6>e`<7>d `<6>t`<5>e`<4>x`<3>t`<0>\n',
- '`SeEmbossed text`Sn\n',
- '`SgGhost text`Sn\n',
- '`ShSome Light`Sn\n',
- '`SsSome Shadow`Sn\n',
- '`Sh`SsLight & Shadow`Sn\n',
- '`Se`SsEmboss & Shadow`Sn\n',
- '`iItalic`n, `bBold`n, `uUnderlined`n, Normal, `i`b`uMixed`n\n',
- '`lA very, very, very long line that will be nicely truncated\n',
- '`cA very, very, very long line that will be nicely truncated\n',
- '`rA very, very, very long line that will be nicely truncated',
- NIL
-